# -*- coding: utf-8 -*-
# @Time    : 2020/2/7 16:54
# @Author  : Weymouth
# @Email   : 261229090@qq.com
# @File    : 列表生成式.py
# @Software: PyCharm
# ---------------------------------------------------

#列表生成式
# def f(n):
#     return n**3
#
# a = [f(x) for x in range(10)]
# # a = [x*x for x in range(10)]
# print(a)

# t = ('1233', 8, 9)
# a, b = t
# # a = t[0]
# # b = t[1]
# print(a)
# print(b)